﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MYQQX.SP
{
    public class Jxy_xl : ISp
    {   
        public override string Name => "姬轩辕·玄鹿";

        public override string Desc => @"技能效果一：下一回合一定出现一个《古剑奇谭三》的主要角色
技能效果二：眠霜卧雪的分数增加30分";

        public override int SpScore => 4;

        public override int GetExtraScore(CardGroup group)
        {
            if (group.Group.Any(t => t.Name == "眠霜卧雪"))
                return 30;

            return base.GetExtraScore(group);
        }

        public override void Got(CardGroup MyGroup, CardGroup OtGroup)
        {
            SetNextSend((cards) =>
            {
                return cards.FirstOrDefault(t => t.GameVersion == 3);
            });
        }
    }
}
